package com.example.util;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author wangbin
 */
@EnableConfigurationProperties
@Component
@ConfigurationProperties(prefix = "ssh")
@Getter
@Setter
public class ServerProperties {
    private String host = "localhost";
    private String port = "3306";
    private String username = "root";
    private String password = "admin";
}
